obj=simpleCons.so
CC = g++
INC = -I/usr/include -I/home/y/include  -I/usr/include/glib-2.0 
CFLAG =	-s -shared -fPIC -Wall -g3 -DLINUX -Wno-deprecated  `pkg-config --cflags --libs glib-2.0 gthread-2.0`
DLIB = -L/usr/local/lib -L/home/y/lib -ldl  -lstdc++  -lglib-2.0 

INC = -I/home/y/include/mysql -I/home/y/include  -I./ -I../../../antx/antx  -I../../cobweb  -I/usr/include/glib-2.0 -I/usr/include

all:
	$(CC) $(CFLAG) $(INC) $(DLIB) -o simpleCons.so simpleCons.cc config.cc
	cp simpleCons.so ../simpleCons.so
clean:
	rm -rf *.o $(obj) 
